<div class="form-compile">
	<div class="model" style="display: none">${model}</div>
	<form class="layui-form" lay-filter="edit-form">
		<input type="hidden" name="configId" />
		<div class="layui-form-item">
			<label class="layui-form-label required">参数名称</label>
			<div class="layui-input-inline">
				<input class="layui-input" disabled type="text" name="configName"
					lay-verify="required">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label required">参数编码</label>
			<div class="layui-input-inline">
				<input class="layui-input" disabled type="text" name="configCode"
					lay-verify="required">
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<label class="layui-form-label">备注</label>
			<div class="layui-input-block">
				<textarea disabled class="layui-textarea" name="remark"></textarea>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label required">参数值</label>
			<div class="layui-input-inline">
				<input class="layui-input" type="text" name="configValue"
					lay-verify="required" placeholder="请输入参数值">
			</div>
		</div>
		<div class="layui-form-item form-finally">
			<button type="button" class="layui-btn" lay-submit=""
				lay-filter="config-edit" id="configEditSave">保存</button>
			<button type="button" class="layui-btn" onclick="closePopup()">关闭</button>
		</div>
	</form>
</div>
<script>
	//在UI生成之后初始化表单
	initFormData();
	$("#configEditSave").formSubmit({
		url : ctx + "/sys/config/edit"
	});
</script>